package com.wms.mapper;

import com.wms.entity.WmsRole;
import com.wms.entity.WmsRoleMenu;
import com.wms.entity.WmsUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface RoleMenuMapper {

    @Select("select * from wms_role_menu where role_id = #{roleId}")
    List<WmsRoleMenu> findAllByRole(WmsRole role);
}
